package com.yt.server.mode.patterns.observer;

import com.yt.server.mode.patterns.facade.Facade;

/**
 * 通知者
 * @author Administrator
 */
public class Notifier {
	
	protected Facade facade = Facade.getInstance();

	public void sendNotification(String notificationName, Object body,
			String type) {
		facade.sendNotification(notificationName, body, type);
	}

	public void sendNotification(String notificationName, Object body) {
		facade.sendNotification(notificationName, body);
	}

	public void sendNotification(String notificationName) {
		facade.sendNotification(notificationName);
	}
}
